package ${package}.${service};

import com.baomidou.mybatisplus.core.metadata.IPage;
import java.io.Serializable;
import java.util.Set;
import ${package}.common.Result;
import ${package}.${entity}.${simpleName};

public interface ${simpleName}Service {

    Result<IPage<${simpleName}>> listPage(Integer pageNo, Integer pageSize);

    Result<IPage<${simpleName}>> selectPage(Integer pageNo, Integer pageSize);

    Result<${simpleName}> getById(Serializable id);

    Result add(${simpleName} ${paramName});

    Result updateById(${simpleName} ${paramName});

    Result deleteByIds(Set<Integer> ids);

}